AMD IOMMU: fix type of "bdf" parameter of update_intremap_entry_from_msi_msg()
authorJan Beulich <jbeulich@suse.com>
Mon, 19 Nov 2012 14:15:12 +0000 (15:15 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 19 Nov 2012 14:15:12 +0000 (15:15 +0100)
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/passthrough/amd/iommu_intr.c

index 26a9d7ea9d559622f5d4af2ef22060daabeea1bc..7d1dc6a7b4c563c9ac744126c2f23f3341d80eac 100644 (file)
@@ -263,7 +263,7 @@ void amd_iommu_ioapic_update_ire(
 }
 
 static void update_intremap_entry_from_msi_msg(
-    struct amd_iommu *iommu, u8 bdf,
+    struct amd_iommu *iommu, u16 bdf,
     struct msi_desc *msi_desc, struct msi_msg *msg)
 {
     unsigned long flags;